package com.java.multipledatasource.spring.proxyimpl;

import com.java.multipledatasource.spring.service.Service;

/**
 * @author huxb
 * @date 2020/10/18 0018 下午 6:59
 * @Desciption
 */
public class IndexServicePrower implements Service {

    private Service  service;

    public IndexServicePrower(Service service) {
        this.service = service;
    }

    @Override
    public void query() {
        System.out.println("prower prower");
        service.query();
    }
}
